<script>
    for(var i = 1;i<=100;i++){
        if(i%3===0){
            console.log(i)
        }
    }
</script>